package com.yunyi.dm.factory.simple;


/**
 * 咖啡店
 *
 * @author yunyi
 */
public class CoffeeStore {
    public Coffee getCoffee(String type) {
        SimpleCoffeeFactory simpleCoffeeFactory = new SimpleCoffeeFactory();
        Coffee coffee = simpleCoffeeFactory.createCoffee(type);
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
